
<?php
$pyload = $_FILES['file'];
//上传路径
$path = "../UploadFiles/" . $pyload['name']; 
if(move_uploaded_file($pyload['tmp_name'], $path)){
    echo '1';
}else{ echo '0'; }

?>

